// (c) Copyright 2011 Borja Sánchez Zamorano (BSD License)
// feedback: borsanza AT gmail DOT com

#include <awui/Windows/Forms/Control.h>

#include <awui/Windows/Forms/SplitContainer.h>

namespace awui {
	namespace Windows {
		namespace Forms {
			class Splitter : public Control {
				private:
						SplitContainer::Orientation::Enum orientation;
						int mouseActive;

				public:
					Splitter();
					virtual ~Splitter();

					virtual int IsClass(Classes::Enum objectClass) const;

					SplitContainer::Orientation::Enum GetOrientation();
					void SetOrientation(SplitContainer::Orientation::Enum orientation);

					virtual void OnMouseDown(MouseEventArgs * e);
					virtual void OnMouseMove(MouseEventArgs * e);
					virtual void OnMouseUp(MouseEventArgs * e);
					virtual void OnMouseEnter();
					virtual void OnMouseLeave();
			};
		}
	}
}
